package org.mybaits.chapter4.entitys;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品信息
 * 
 * @author huangkai
 * @date 2016年2月28日 下午8:07:52
 * @version 1.0
 */
public class Items {

	private Long id;

	private String itemsname;

	private BigDecimal price;

	private Date createtime;

	private String intro;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getItemsname() {
		return itemsname;
	}

	public void setItemsname(String itemsname) {
		this.itemsname = itemsname;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	@Override
	public String toString() {
		return "Items [id=" + id + ", itemsname=" + itemsname + ", price="
				+ price + ", createtime=" + createtime + ", intro=" + intro
				+ "]";
	}

}
